package ar.com.vates.cola_lista;

import java.util.ArrayList;

public class ColaFIFO implements Lista<Object> {

	ArrayList<Object> cola = new ArrayList<>();
	@Override
	public void cargar(Object o) {
		cola.add(o);
	}

	@Override
	public Object sacar() {
		return cola.remove(0);
	}

}
